﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bonus_JiaShiYuanWebForm.aspx.cs" Inherits="Anke.SHManage.Web.Reports.Bonus_JiaShiYuanWebForm" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>随车驾驶员按完成岗位实绩结算表</title>
    <script src="../Content/EasyUI/jquery.js"></script>
    <script src="../Content/EasyUI/jquery.easyui.js"></script>
    <script src="../Content/EasyUI/locale/easyui-lang-zh_CN.js"></script>
    <link href="../Content/EasyUI/themes/icon.css" rel="stylesheet" />
    <link href="../Content/EasyUI/themes/default/easyui.css" rel="stylesheet" />
    <script src="../Scripts/jquery.AnkeExtend.js"></script>
    <script type="text/javascript">
        //页面加载
        $(document).ready(function () {
            DisableBackspace();
            reload();
        });
        //function fillCombobox() {
        //    //标识
        //    $('#Mark').combobox({
        //        valueField: 'ID',
        //        textField: 'Name',
        //        method: 'get',
        //        editable: false,
        //        panelHeight: 'auto',
        //        prompt: "--请选择--",
        //        data: [
        //        {
        //            ID: '超期',
        //            Name: '超期'
        //        },
        //        {
        //            ID: '未超期',
        //            Name: '未超期',
        //        }
        //        ]
        //    });

        //}

        // 实现UpdatePanel中可以再添加easyUI的样式
        function reload() {
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        }
        function EndRequestHandler() {
            //fillCombobox();
        }

        ////给easyui combobox增添清空按钮
        //$.fn.combobox.defaults.icons = [{
        //    iconCls: 'icon-clear',
        //    handler: function (e) {
        //        $(e.handleObj.data.target).combobox('clear');
        //    }
        //}];
    </script>
</head>
<body>

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">--%>
            <%--<ContentTemplate>--%>
                <table>
                    <tr>
                        <td>查询时间：</td>
                        <td>
                            <asp:TextBox ID="StartDate" class="easyui-datetimebox" Style="width: 150px" runat="server" editable="false"></asp:TextBox>
                        </td>
                        <td style="text-align: center">至</td>
                        <td>
                            <asp:TextBox ID="EndDate" class="easyui-datetimebox" Style="width: 150px" runat="server" editable="false"></asp:TextBox>
                        </td>
                        <td style="text-align: center">&nbsp; 司机：</td>
                        <td>
                            <asp:TextBox ID="Driver" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                        </td>  
                        <td>
                            <asp:Button ID="Button1" runat="server" Text="查询" OnClick="btnSearch_Click" />
                        </td>
                    </tr>
                </table>
            <%--</ContentTemplate>
        </asp:UpdatePanel>--%>
        <div style="background-color: #fafafa; border-left: 1px solid scrollbar; overflow: hidden; height: 100%;">
            <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="100%"   SizeToReportContent="True"></rsweb:ReportViewer>
        </div>
    </form>
</body>
</html>
